import ListButton from './ListButton';
export default class UnorderListButton extends ListButton {
  _init() {
    let result = super._init.call(this);
    if (this.editor.util.os.mac) {
      this.title = `${this.title} ( Cmd + . )`;
    } else {
      this.title = `${this.title} ( Ctrl + . )`;
      this.shortcut = 'ctrl+.';
    }
    return result;
  }
}

UnorderListButton.prototype.type = 'ul';
UnorderListButton.prototype.name = 'ul';
UnorderListButton.prototype.icon = 'list-ul';
UnorderListButton.prototype.htmlTag = 'ul';
UnorderListButton.prototype.shortcut = 'cmd+.';